<?php
class communicator {
	
	private $idCommunicator;
	private $name;
	
	
	function __construct($idCommunicator, $name) {
		$this->setIdCommunicator ( $idCommunicator );
		$this->setName ( $name );
	}
	
	/**
	 * @return unknown
	 */
	public function getIdCommunicator() {
		return $this->idCommunicator;
	}
	
	/**
	 * @param unknown_type $idCommunicator
	 */
	public function setIdCommunicator($idCommunicator) {
		primitiveTypes::int($idCommunicator);
		$this->idCommunicator = $idCommunicator;
	}
	
	/**
	 * @return unknown
	 */
	public function getName() {
		return $this->name;
	}
	
	/**
	 * @param unknown_type $name
	 */
	public function setName($name) {
		primitiveTypes::string($name);
		$this->name = $name;
	}
}
?>